package com.rz.htk.order.controller;

import com.rz.core.kit.RespKit;
import com.rz.core.resp.ResultResp;
import com.rz.htk.order.entity.OrderHis;
import com.rz.htk.order.service.IOrderHisService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;


@RestController
@RequestMapping("/orderHis")
public class OrderHisController {

    @Resource
    private IOrderHisService orderHisService;

    @PostMapping("/getPage")
    public ResultResp getPage(@RequestBody OrderHis orderHis){
        return RespKit.success(orderHisService.getPage(orderHis));
    }


}
